auto merge of #328 : alexcrichton/cargo/cargo-building-cargo, r=wycats
authorbors <bors@rust-lang.org>
Wed, 6 Aug 2014 19:20:56 +0000 (19:20 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Aug 2014 19:20:56 +0000 (19:20 +0000)
commit6faa6c97a0e5fd8244e7ce83c0594964e548d833
tree24a4bde40d7885097926ab12f53863193319f5da
parent65acd4d4823cf59cd1995fd375cd300447191a9f
parent5cb542c8217bbe2fc05c3959aa23c850880fbc40
auto merge of #328 : alexcrichton/cargo/cargo-building-cargo, r=wycats

Cargo should be able to build with cargo so others can depend on the cargo
library. This means that the one requirement of the CFG_VERSION env var will not
be available. This alters `version()` to prioritize CFG_VERSION but fall back to
the cargo-specified variables.